package com.shop.cloud.model.request.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiGoodsOrderRequestModel extends ApiRestfulRequest {

    private static final long serialVersionUID = -3286520204644035655L;

    @JsonProperty("userid")
    @ApiModelProperty(value = "用户id", example = "1", required = true)
    private String userid;
    
    /**
     * 0：全部，1：待发货，2：待收货，3：已结束
     */
    @JsonProperty("type")
    @ApiModelProperty(value = "类型", example = "", required = true)
    private String type;
    
    /**
     * 页码，从1开始
     */
    @JsonProperty("page")
    @ApiModelProperty(value = "页码", example = "", required = true)
    private String page;
    
    /**
     * 每页个数
     */
    @JsonProperty("num")
    @ApiModelProperty(value = "每页个数", example = "", required = true)
    private String num;
    
    @JsonProperty("verify")
    @ApiModelProperty(value = "加密字符串", example = "", required = true)
    private String verify;

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getVerify() {
		return verify;
	}

	public void setVerify(String verify) {
		this.verify = verify;
	}
}
